package com.wyz.novembermall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

//开启服务注册发现，确保网关知道其他服务在那(nacos注册地址)


@EnableDiscoveryClient//注册中心
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class NovembermallGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(NovembermallGatewayApplication.class, args);
    }
}